<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:ace="http://www.icefaces.org/icefaces/components">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
        <h:form>
                       
            <ace:panel>
                <ace:textEntry value="#{recherche.firstNameMembers}" label="FirstName" labelPosition="left"></ace:textEntry>
                <br/>
                <ace:textEntry value="#{recherche.lastNameMembers}" label="LastName" labelPosition="left"></ace:textEntry>
                <br/>
                <ace:textEntry value="#{recherche.ageMembers}" label="Age" labelPosition="left"></ace:textEntry>
                <br/>
               
                <ace:textEntry value="#{recherche.emailMembers}" label="Email" labelPosition="left"></ace:textEntry>
                <br/>
                <h:commandButton value="OK" action="#{recherche.rechercherMembers()}"/>
            </ace:panel>
            
            <ace:dataTable rendered="#{recherche.isConnecte}" value="#{recherche.mesMembres}" var="test" > 
               <ace:column id="photos1" headerText="Photos">
                   <h:graphicImage width="200" id="photos" value="#{test.photoProfileMembers}"/>
                </ace:column>
                
                <ace:column id="nom1" headerText="prenom">
                    <h:outputLabel id="nom" value="#{test.firstNameMembers}"/>
                </ace:column>
                <ace:column id="lastnom1" headerText="nom">
                    <h:outputLabel id="lastnom" value="#{test.lastNameMembers}"/>
                </ace:column>
                <ace:column id="ages1" headerText="age">
                    <h:outputLabel id="ages" value="#{test.ageMembers}"/>
                </ace:column>
                <ace:column id="emaill1" headerText="Email">
                    <h:outputLabel id="nemaill" value="#{test.emailMembers}"/>
                </ace:column>
            </ace:dataTable>
            
        </h:form>
    </h:body>
</html>

